package com.bolt.report.engine;

import java.util.ArrayList;
import java.util.List;

public class DynamicHeader {

    private List<DynamicColumn> columns;

    public DynamicHeader() {
        this.columns = new ArrayList<>();
    }

    public DynamicHeader(List<DynamicColumn> columns) {
        this.columns = columns;
    }

    public void add(DynamicColumn column) {
        this.columns.add(column);
    }

    public List<DynamicColumn> getColumns() {
        return columns;
    }

    public void setColumns(List<DynamicColumn> columns) {
        this.columns = columns;
    }
}